
import request from '../request.js'
import { payCurrentUrl,getCurrentAssentUrl, getBuyURl } from '../urls.js' 

export default { 
	//活期支付与建立订单
	payCurrent(data){
		return request({
			url:payCurrentUrl,
			method:'POST',
			data
		})
	},
	////获取活期资产详情
	getCurrentAssent(data){
		return request({
			url: getCurrentAssentUrl ,
			method:'POST',
			data
		})
	},
	
	//定期请求
	getBuyMonry(data){
		return request({
			url:getBuyURl,
			method:'POST',
			data
		})
	}
}